import { KeepAliveProvider, WithKeepAlive } from 'ym-design';

function KeepAliveComp() {
  return (
    <KeepAliveProvider>
      <WithKeepAlive cacheId="123456">
        <div>缓存组件</div>
      </WithKeepAlive>
    </KeepAliveProvider>
  );
}

export default KeepAliveComp;
